<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.17"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TMCStepper: src/source/CHOPCONF.cpp Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">TMCStepper
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.17 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('_c_h_o_p_c_o_n_f_8cpp_source.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="headertitle">
<div class="title">CHOPCONF.cpp</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_c_h_o_p_c_o_n_f_8cpp.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c_stepper_8h.html">TMCStepper.h</a>&quot;</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a>&quot;</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160; </div>
<div class="line"><a name="l00004"></a><span class="lineno"><a class="line" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">    4</a></span>&#160;<span class="preprocessor">#define SET_REG(SETTING) CHOPCONF_register.SETTING = B; write(CHOPCONF_register.address, CHOPCONF_register.sr)</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160; </div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="comment">// CHOPCONF</span></div>
<div class="line"><a name="l00007"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">    7</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">TMC2130Stepper::CHOPCONF</a>() {</div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2130_stepper.html#aed0175bff6e80ebc14e0d2606283cbe0">read</a>(CHOPCONF_register.address);</div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160;}</div>
<div class="line"><a name="l00010"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a8f881532eca7813597a1292ed060d18c">   10</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">TMC2130Stepper::CHOPCONF</a>(uint32_t input) {</div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;    CHOPCONF_register.sr = input;</div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;    <a class="code" href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">write</a>(CHOPCONF_register.address, CHOPCONF_register.sr);</div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160;}</div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160; </div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a5c38cecab1bea081e85481f6ea107d42">   15</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#ac34bf4add4f669e935f2a91e1b42817c">TMC2130Stepper::toff</a>(      uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ac34bf4add4f669e935f2a91e1b42817c">toff</a>);    }</div>
<div class="line"><a name="l00016"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a9a596f4925dee519f6c3ee8235830e73">   16</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a60ffa69ee70b01e21871a3e1b79d6d18">TMC2130Stepper::hstrt</a>(     uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a60ffa69ee70b01e21871a3e1b79d6d18">hstrt</a>);   }</div>
<div class="line"><a name="l00017"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#aeaa2be2894fe02a7d7ff9f8eb3fa85a9">   17</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#af9e25628b6e663120fddac28dee776e1">TMC2130Stepper::hend</a>(      uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#af9e25628b6e663120fddac28dee776e1">hend</a>);    }</div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="comment">//void TMC2130Stepper::fd(      uint8_t B ) { SET_REG(fd);      }</span></div>
<div class="line"><a name="l00019"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#aa64ad499ba22a1eb7fcf4d12623f32e4">   19</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a90753acc1c350c0d130e67a4bd72ab00">TMC2130Stepper::disfdcc</a>(   <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a90753acc1c350c0d130e67a4bd72ab00">disfdcc</a>); }</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a21e2a3e8384b97f0730e824064cdb35c">   20</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a63df142506643ae8794abbedf3a30c1d">TMC2130Stepper::rndtf</a>(     <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a63df142506643ae8794abbedf3a30c1d">rndtf</a>);   }</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a91665a3aa42dd5937a5209a17a788418">   21</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a141275c7de1c4bbbe7fe27bd785716bc">TMC2130Stepper::chm</a>(       <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a141275c7de1c4bbbe7fe27bd785716bc">chm</a>);     }</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ac197c45a9104c0099f523f500080a592">   22</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#ae54d816846ca2103976f490c5ab8e887">TMC2130Stepper::tbl</a>(       uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ae54d816846ca2103976f490c5ab8e887">tbl</a>);     }</div>
<div class="line"><a name="l00023"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a772d9c8a49b16d52735ce63df554f56d">   23</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#ac3ea3d6f69e5ec03572752e4e25e0392">TMC2130Stepper::vsense</a>(    <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ac3ea3d6f69e5ec03572752e4e25e0392">vsense</a>);  }</div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a5ccd627d68726c34f0e9b270d1311bf9">   24</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#ae7e437dd00948f511047ea6ee9386718">TMC2130Stepper::vhighfs</a>(   <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#ae7e437dd00948f511047ea6ee9386718">vhighfs</a>); }</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#af74b9a8b6aefa620712c37eb3047d016">   25</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a3d1cc1fd7e97ad59f981a70ba1d9f37f">TMC2130Stepper::vhighchm</a>(  <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a3d1cc1fd7e97ad59f981a70ba1d9f37f">vhighchm</a>);}</div>
<div class="line"><a name="l00026"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ad1b2c7c9d932e95079dc23fb5f827590">   26</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#acbef562065541bf9c49efd7757220775">TMC2130Stepper::sync</a>(      uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#acbef562065541bf9c49efd7757220775">sync</a>);    }</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a8d812cad146d2b0bf1845a20f18b94f8">   27</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#afb12526e87dba10d1f43fc484d962ec1">TMC2130Stepper::mres</a>(      uint8_t B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#afb12526e87dba10d1f43fc484d962ec1">mres</a>);    }</div>
<div class="line"><a name="l00028"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#aa14fc2a23f001550d8a0d83083e2cc7c">   28</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a546ad69c482d0d33621fac89078966e1">TMC2130Stepper::intpol</a>(    <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a546ad69c482d0d33621fac89078966e1">intpol</a>);  }</div>
<div class="line"><a name="l00029"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a529ae6827da49fcf4628a992acbcfe02">   29</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a4eeb04668c41d5f4b7548b521bb82c8c">TMC2130Stepper::dedge</a>(     <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a4eeb04668c41d5f4b7548b521bb82c8c">dedge</a>);   }</div>
<div class="line"><a name="l00030"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afe6b507d32de6e1613ac3939271417c4">   30</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2130_stepper.html#a5929db451598d6a16f8e82b37fbf738f">TMC2130Stepper::diss2g</a>(    <span class="keywordtype">bool</span>    B ) { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2130_stepper.html#a5929db451598d6a16f8e82b37fbf738f">diss2g</a>);  }</div>
<div class="line"><a name="l00031"></a><span class="lineno">   31</span>&#160; </div>
<div class="line"><a name="l00032"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ac34bf4add4f669e935f2a91e1b42817c">   32</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#ac34bf4add4f669e935f2a91e1b42817c">TMC2130Stepper::toff</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.toff;    }</div>
<div class="line"><a name="l00033"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a60ffa69ee70b01e21871a3e1b79d6d18">   33</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#a60ffa69ee70b01e21871a3e1b79d6d18">TMC2130Stepper::hstrt</a>()     { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.hstrt;   }</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#af9e25628b6e663120fddac28dee776e1">   34</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#af9e25628b6e663120fddac28dee776e1">TMC2130Stepper::hend</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.hend;    }</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;<span class="comment">//uint8_t TMC2130Stepper::fd()      { CHOPCONF_t r{0}; r.sr = CHOPCONF(); return r.fd;      }</span></div>
<div class="line"><a name="l00036"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a90753acc1c350c0d130e67a4bd72ab00">   36</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a90753acc1c350c0d130e67a4bd72ab00">TMC2130Stepper::disfdcc</a>()   { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.disfdcc; }</div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a63df142506643ae8794abbedf3a30c1d">   37</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a63df142506643ae8794abbedf3a30c1d">TMC2130Stepper::rndtf</a>()     { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.rndtf;   }</div>
<div class="line"><a name="l00038"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a141275c7de1c4bbbe7fe27bd785716bc">   38</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a141275c7de1c4bbbe7fe27bd785716bc">TMC2130Stepper::chm</a>()       { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.chm;     }</div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ae54d816846ca2103976f490c5ab8e887">   39</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#ae54d816846ca2103976f490c5ab8e887">TMC2130Stepper::tbl</a>()       { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.tbl;     }</div>
<div class="line"><a name="l00040"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ac3ea3d6f69e5ec03572752e4e25e0392">   40</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#ac3ea3d6f69e5ec03572752e4e25e0392">TMC2130Stepper::vsense</a>()    { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.vsense;  }</div>
<div class="line"><a name="l00041"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#ae7e437dd00948f511047ea6ee9386718">   41</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#ae7e437dd00948f511047ea6ee9386718">TMC2130Stepper::vhighfs</a>()   { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.vhighfs; }</div>
<div class="line"><a name="l00042"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a3d1cc1fd7e97ad59f981a70ba1d9f37f">   42</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a3d1cc1fd7e97ad59f981a70ba1d9f37f">TMC2130Stepper::vhighchm</a>()  { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.vhighchm;}</div>
<div class="line"><a name="l00043"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#acbef562065541bf9c49efd7757220775">   43</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#acbef562065541bf9c49efd7757220775">TMC2130Stepper::sync</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.sync;    }</div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#afb12526e87dba10d1f43fc484d962ec1">   44</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2130_stepper.html#afb12526e87dba10d1f43fc484d962ec1">TMC2130Stepper::mres</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.mres;    }</div>
<div class="line"><a name="l00045"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a546ad69c482d0d33621fac89078966e1">   45</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a546ad69c482d0d33621fac89078966e1">TMC2130Stepper::intpol</a>()    { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.intpol;  }</div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a4eeb04668c41d5f4b7548b521bb82c8c">   46</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a4eeb04668c41d5f4b7548b521bb82c8c">TMC2130Stepper::dedge</a>()     { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.dedge;   }</div>
<div class="line"><a name="l00047"></a><span class="lineno"><a class="line" href="class_t_m_c2130_stepper.html#a5929db451598d6a16f8e82b37fbf738f">   47</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2130_stepper.html#a5929db451598d6a16f8e82b37fbf738f">TMC2130Stepper::diss2g</a>()    { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.diss2g;  }</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160; </div>
<div class="line"><a name="l00049"></a><span class="lineno"><a class="line" href="class_t_m_c5160_stepper.html#ac255d90aee670ce1f40ed3106f4b37b8">   49</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5160_stepper.html#aa3acb02febd68ad411114089307f198c">TMC5160Stepper::diss2vs</a>(<span class="keywordtype">bool</span> B){ <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5160_stepper.html#aa3acb02febd68ad411114089307f198c">diss2vs</a>); }</div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_t_m_c5160_stepper.html#a19fc280a63f1b02a10cbb856ad234042">   50</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c5160_stepper.html#a365f4343bff99bedff934f0647cbaa34">TMC5160Stepper::tpfd</a>(uint8_t B){ <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c5160_stepper.html#a365f4343bff99bedff934f0647cbaa34">tpfd</a>);    }</div>
<div class="line"><a name="l00051"></a><span class="lineno"><a class="line" href="class_t_m_c5160_stepper.html#aa3acb02febd68ad411114089307f198c">   51</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c5160_stepper.html#aa3acb02febd68ad411114089307f198c">TMC5160Stepper::diss2vs</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.diss2vs; }</div>
<div class="line"><a name="l00052"></a><span class="lineno"><a class="line" href="class_t_m_c5160_stepper.html#a365f4343bff99bedff934f0647cbaa34">   52</a></span>&#160;uint8_t <a class="code" href="class_t_m_c5160_stepper.html#a365f4343bff99bedff934f0647cbaa34">TMC5160Stepper::tpfd</a>()      { <a class="code" href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">sr</a> = <a class="code" href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">CHOPCONF</a>(); <span class="keywordflow">return</span> r.tpfd;    }</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160; </div>
<div class="line"><a name="l00054"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#ac7c979e2083f3a2b35bcaa0f4fd45cae">   54</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">TMC2208Stepper::CHOPCONF</a>(uint32_t input) {</div>
<div class="line"><a name="l00055"></a><span class="lineno">   55</span>&#160;    CHOPCONF_register.sr = input;</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    <a class="code" href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">write</a>(CHOPCONF_register.address, CHOPCONF_register.sr);</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;}</div>
<div class="line"><a name="l00058"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">   58</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">TMC2208Stepper::CHOPCONF</a>() {</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordflow">return</span> <a class="code" href="class_t_m_c2208_stepper.html#a2fae2050849c3ab7968012def8ea1cc5">read</a>(CHOPCONF_register.address);</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160;}</div>
<div class="line"><a name="l00061"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a7ec1e7b4256e23a062cf72135d480d5f">   61</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#aad3790e8c9040b5b4770ee65ed06b1ed">TMC2208Stepper::toff</a>   ( uint8_t  B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#aad3790e8c9040b5b4770ee65ed06b1ed">toff</a>);    }</div>
<div class="line"><a name="l00062"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a2d96852bda7fac58f65ba3e96cdfc642">   62</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#ae86e87a3b5882ac40c6f21348c6793ed">TMC2208Stepper::hstrt</a>  ( uint8_t  B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#ae86e87a3b5882ac40c6f21348c6793ed">hstrt</a>);   }</div>
<div class="line"><a name="l00063"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a81a7fcf597905d654045abd35bb5412e">   63</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a2f36996a01d99a96f40d179931eb606a">TMC2208Stepper::hend</a>   ( uint8_t  B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a2f36996a01d99a96f40d179931eb606a">hend</a>);    }</div>
<div class="line"><a name="l00064"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a0f222fc82369c922746a1f457fea668a">   64</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a84a5b9684c546c5f4549f375048512be">TMC2208Stepper::tbl</a>    ( uint8_t  B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a84a5b9684c546c5f4549f375048512be">tbl</a>);     }</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a35c5c94dd12048b8daa148134c94be5f">   65</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#aca88bb5ae86daeca56094bf2f8bdea5d">TMC2208Stepper::vsense</a> ( <span class="keywordtype">bool</span>     B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#aca88bb5ae86daeca56094bf2f8bdea5d">vsense</a>);  }</div>
<div class="line"><a name="l00066"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a9b1b9c2cc87274b569d6ecf47ae621eb">   66</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a445b61c23afadb9bd48c3f4d9ef9125e">TMC2208Stepper::mres</a>   ( uint8_t  B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a445b61c23afadb9bd48c3f4d9ef9125e">mres</a>);    }</div>
<div class="line"><a name="l00067"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#acb690e8811ad65d15ff1b04dfc158302">   67</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a787cbae9adfab6f79a873310c472e7cd">TMC2208Stepper::intpol</a> ( <span class="keywordtype">bool</span>     B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a787cbae9adfab6f79a873310c472e7cd">intpol</a>);  }</div>
<div class="line"><a name="l00068"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a0c54d58d36627714213b8f9b5405638a">   68</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a5b614f72c27fa1b7ff1c08fe07b17582">TMC2208Stepper::dedge</a>  ( <span class="keywordtype">bool</span>     B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a5b614f72c27fa1b7ff1c08fe07b17582">dedge</a>);   }</div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#af9e723eb68920b230396d99314802625">   69</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#a810f59828ccf8b0f55c7274b21ea0255">TMC2208Stepper::diss2g</a> ( <span class="keywordtype">bool</span>     B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#a810f59828ccf8b0f55c7274b21ea0255">diss2g</a>);  }</div>
<div class="line"><a name="l00070"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a3df95f42838a9aba18f50a2a2440a609">   70</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2208_stepper.html#afc70b23b3486ae3ea3a3dfa804441148">TMC2208Stepper::diss2vs</a>( <span class="keywordtype">bool</span>     B )  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2208_stepper.html#afc70b23b3486ae3ea3a3dfa804441148">diss2vs</a>); }</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#aad3790e8c9040b5b4770ee65ed06b1ed">   72</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2208_stepper.html#aad3790e8c9040b5b4770ee65ed06b1ed">TMC2208Stepper::toff</a>()      { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.toff;     }</div>
<div class="line"><a name="l00073"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#ae86e87a3b5882ac40c6f21348c6793ed">   73</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2208_stepper.html#ae86e87a3b5882ac40c6f21348c6793ed">TMC2208Stepper::hstrt</a>()     { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.hstrt;    }</div>
<div class="line"><a name="l00074"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a2f36996a01d99a96f40d179931eb606a">   74</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2208_stepper.html#a2f36996a01d99a96f40d179931eb606a">TMC2208Stepper::hend</a>()      { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.hend;     }</div>
<div class="line"><a name="l00075"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a84a5b9684c546c5f4549f375048512be">   75</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2208_stepper.html#a84a5b9684c546c5f4549f375048512be">TMC2208Stepper::tbl</a>()       { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.tbl;      }</div>
<div class="line"><a name="l00076"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#aca88bb5ae86daeca56094bf2f8bdea5d">   76</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2208_stepper.html#aca88bb5ae86daeca56094bf2f8bdea5d">TMC2208Stepper::vsense</a>()    { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.vsense;   }</div>
<div class="line"><a name="l00077"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a445b61c23afadb9bd48c3f4d9ef9125e">   77</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2208_stepper.html#a445b61c23afadb9bd48c3f4d9ef9125e">TMC2208Stepper::mres</a>()      { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.mres;     }</div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a787cbae9adfab6f79a873310c472e7cd">   78</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2208_stepper.html#a787cbae9adfab6f79a873310c472e7cd">TMC2208Stepper::intpol</a>()    { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.intpol;   }</div>
<div class="line"><a name="l00079"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a5b614f72c27fa1b7ff1c08fe07b17582">   79</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2208_stepper.html#a5b614f72c27fa1b7ff1c08fe07b17582">TMC2208Stepper::dedge</a>()     { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.dedge;    }</div>
<div class="line"><a name="l00080"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#a810f59828ccf8b0f55c7274b21ea0255">   80</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2208_stepper.html#a810f59828ccf8b0f55c7274b21ea0255">TMC2208Stepper::diss2g</a>()    { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.diss2g;   }</div>
<div class="line"><a name="l00081"></a><span class="lineno"><a class="line" href="class_t_m_c2208_stepper.html#afc70b23b3486ae3ea3a3dfa804441148">   81</a></span>&#160;<span class="keywordtype">bool</span>    <a class="code" href="class_t_m_c2208_stepper.html#afc70b23b3486ae3ea3a3dfa804441148">TMC2208Stepper::diss2vs</a>()   { <a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a> r{0}; r.<a class="code" href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">sr</a> = <a class="code" href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">CHOPCONF</a>(); <span class="keywordflow">return</span> r.diss2vs;  }</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160; </div>
<div class="line"><a name="l00083"></a><span class="lineno"><a class="line" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">   83</a></span>&#160;<span class="preprocessor">#define GET_REG_2660(SETTING) return CHOPCONF_register.SETTING;</span></div>
<div class="line"><a name="l00084"></a><span class="lineno">   84</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#ad584d93cbf798731dcecee465b8b1de6">   85</a></span>&#160;uint32_t <a class="code" href="class_t_m_c2660_stepper.html#ad584d93cbf798731dcecee465b8b1de6">TMC2660Stepper::CHOPCONF</a>() { <span class="keywordflow">return</span> CHOPCONF_register.sr; }</div>
<div class="line"><a name="l00086"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a70328d7ca863697d018760836310a6ee">   86</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#ad584d93cbf798731dcecee465b8b1de6">TMC2660Stepper::CHOPCONF</a>(uint32_t data) {</div>
<div class="line"><a name="l00087"></a><span class="lineno">   87</span>&#160;  CHOPCONF_register.sr = data;</div>
<div class="line"><a name="l00088"></a><span class="lineno">   88</span>&#160;  <a class="code" href="class_t_m_c2660_stepper.html#a4ab9b5cf6da0c345ecc50e877b54ada2">write</a>(CHOPCONF_register.address, CHOPCONF_register.sr);</div>
<div class="line"><a name="l00089"></a><span class="lineno">   89</span>&#160;}</div>
<div class="line"><a name="l00090"></a><span class="lineno">   90</span>&#160; </div>
<div class="line"><a name="l00091"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#ae0067aef27a3b77f7bd02670fcd87332">   91</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">TMC2660Stepper::toff</a>(uint8_t B)    {</div>
<div class="line"><a name="l00092"></a><span class="lineno">   92</span>&#160;    <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">toff</a>);</div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <span class="keywordflow">if</span> (B&gt;0) _savedToff = B;</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160;}</div>
<div class="line"><a name="l00095"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#abea2d3f2d90c7f11a2975ac62bf5ed42">   95</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">TMC2660Stepper::hstrt</a>(uint8_t B)   { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">hstrt</a>);   }</div>
<div class="line"><a name="l00096"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a70544173e9657224640cf08097ebac19">   96</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">TMC2660Stepper::hend</a>(uint8_t B)    { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">hend</a>);    }</div>
<div class="line"><a name="l00097"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a8a3be831e20869cb1d5a55ef44a534bb">   97</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">TMC2660Stepper::hdec</a>(uint8_t B)    { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">hdec</a>);    }</div>
<div class="line"><a name="l00098"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#aa472ef1de54e2656085aee3b3f1f9552">   98</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">TMC2660Stepper::rndtf</a>(<span class="keywordtype">bool</span> B)  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">rndtf</a>);   }</div>
<div class="line"><a name="l00099"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a9f8d467b05ec14b4794d393168caa7bb">   99</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">TMC2660Stepper::chm</a>(<span class="keywordtype">bool</span> B)    { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">chm</a>); }</div>
<div class="line"><a name="l00100"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a4efb4d459c2eaa22f1ff3cbe417ab8d4">  100</a></span>&#160;<span class="keywordtype">void</span> <a class="code" href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">TMC2660Stepper::tbl</a>(uint8_t B)     { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a>(<a class="code" href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">tbl</a>); }</div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160; </div>
<div class="line"><a name="l00102"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">  102</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">TMC2660Stepper::toff</a>()  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">toff</a>);   }</div>
<div class="line"><a name="l00103"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">  103</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">TMC2660Stepper::hstrt</a>()     { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">hstrt</a>);  }</div>
<div class="line"><a name="l00104"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">  104</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">TMC2660Stepper::hend</a>() { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">hend</a>);    }</div>
<div class="line"><a name="l00105"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">  105</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">TMC2660Stepper::hdec</a>()  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">hdec</a>);   }</div>
<div class="line"><a name="l00106"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">  106</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">TMC2660Stepper::rndtf</a>() { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">rndtf</a>); }</div>
<div class="line"><a name="l00107"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">  107</a></span>&#160;<span class="keywordtype">bool</span> <a class="code" href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">TMC2660Stepper::chm</a>()  { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">chm</a>);    }</div>
<div class="line"><a name="l00108"></a><span class="lineno"><a class="line" href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">  108</a></span>&#160;uint8_t <a class="code" href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">TMC2660Stepper::tbl</a>() { <a class="code" href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a>(<a class="code" href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">tbl</a>);  }</div>
</div><!-- fragment --></div><!-- contents -->
</div><!-- doc-content -->
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a2f36996a01d99a96f40d179931eb606a"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a2f36996a01d99a96f40d179931eb606a">TMC2208Stepper::hend</a></div><div class="ttdeci">uint8_t hend()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00074">CHOPCONF.cpp:74</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_ac34bf4add4f669e935f2a91e1b42817c"><div class="ttname"><a href="class_t_m_c2130_stepper.html#ac34bf4add4f669e935f2a91e1b42817c">TMC2130Stepper::toff</a></div><div class="ttdeci">uint8_t toff()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00032">CHOPCONF.cpp:32</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_afc70b23b3486ae3ea3a3dfa804441148"><div class="ttname"><a href="class_t_m_c2208_stepper.html#afc70b23b3486ae3ea3a3dfa804441148">TMC2208Stepper::diss2vs</a></div><div class="ttdeci">bool diss2vs()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00081">CHOPCONF.cpp:81</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a5b614f72c27fa1b7ff1c08fe07b17582"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a5b614f72c27fa1b7ff1c08fe07b17582">TMC2208Stepper::dedge</a></div><div class="ttdeci">bool dedge()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00079">CHOPCONF.cpp:79</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a2fae2050849c3ab7968012def8ea1cc5"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a2fae2050849c3ab7968012def8ea1cc5">TMC2208Stepper::read</a></div><div class="ttdeci">uint32_t read(uint8_t)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00221">TMC2208Stepper.cpp:221</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a810f59828ccf8b0f55c7274b21ea0255"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a810f59828ccf8b0f55c7274b21ea0255">TMC2208Stepper::diss2g</a></div><div class="ttdeci">bool diss2g()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00080">CHOPCONF.cpp:80</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a3d4ad562c8344e426a3e5719809e17d3"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a3d4ad562c8344e426a3e5719809e17d3">TMC2660Stepper::hend</a></div><div class="ttdeci">uint8_t hend()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00104">CHOPCONF.cpp:104</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a4eeb04668c41d5f4b7548b521bb82c8c"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a4eeb04668c41d5f4b7548b521bb82c8c">TMC2130Stepper::dedge</a></div><div class="ttdeci">bool dedge()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00046">CHOPCONF.cpp:46</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_abe01a905588d5feb41ec3a967512027f"><div class="ttname"><a href="class_t_m_c2660_stepper.html#abe01a905588d5feb41ec3a967512027f">TMC2660Stepper::toff</a></div><div class="ttdeci">uint8_t toff()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00102">CHOPCONF.cpp:102</a></div></div>
<div class="ttc" id="a_c_h_o_p_c_o_n_f_8cpp_html_a6e4f7ba2fdd5a548e9a0383905ada143"><div class="ttname"><a href="_c_h_o_p_c_o_n_f_8cpp.html#a6e4f7ba2fdd5a548e9a0383905ada143">SET_REG</a></div><div class="ttdeci">#define SET_REG(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00004">CHOPCONF.cpp:4</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a90753acc1c350c0d130e67a4bd72ab00"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a90753acc1c350c0d130e67a4bd72ab00">TMC2130Stepper::disfdcc</a></div><div class="ttdeci">bool disfdcc()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00036">CHOPCONF.cpp:36</a></div></div>
<div class="ttc" id="astruct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t_html_a6188a535b85b0606fd7df72c8e61bcfc"><div class="ttname"><a href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html#a6188a535b85b0606fd7df72c8e61bcfc">TMC2208_n::CHOPCONF_t::sr</a></div><div class="ttdeci">uint32_t sr</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208__bitfields_8h_source.html#l00105">TMC2208_bitfields.h:105</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a2a4b400657a70a32a502ff88dce66a7e"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a2a4b400657a70a32a502ff88dce66a7e">TMC2660Stepper::hdec</a></div><div class="ttdeci">uint8_t hdec()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00105">CHOPCONF.cpp:105</a></div></div>
<div class="ttc" id="aclass_t_m_c5160_stepper_html_aa3acb02febd68ad411114089307f198c"><div class="ttname"><a href="class_t_m_c5160_stepper.html#aa3acb02febd68ad411114089307f198c">TMC5160Stepper::diss2vs</a></div><div class="ttdeci">bool diss2vs()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00051">CHOPCONF.cpp:51</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a3d1cc1fd7e97ad59f981a70ba1d9f37f"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a3d1cc1fd7e97ad59f981a70ba1d9f37f">TMC2130Stepper::vhighchm</a></div><div class="ttdeci">bool vhighchm()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00042">CHOPCONF.cpp:42</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_afb12526e87dba10d1f43fc484d962ec1"><div class="ttname"><a href="class_t_m_c2130_stepper.html#afb12526e87dba10d1f43fc484d962ec1">TMC2130Stepper::mres</a></div><div class="ttdeci">uint8_t mres()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00044">CHOPCONF.cpp:44</a></div></div>
<div class="ttc" id="a_t_m_c_stepper_8h_html"><div class="ttname"><a href="_t_m_c_stepper_8h.html">TMCStepper.h</a></div></div>
<div class="ttc" id="astruct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t_html"><div class="ttname"><a href="struct_t_m_c2208__n_1_1_c_h_o_p_c_o_n_f__t.html">TMC2208_n::CHOPCONF_t</a></div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208__bitfields_8h_source.html#l00102">TMC2208_bitfields.h:102</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_ae7e437dd00948f511047ea6ee9386718"><div class="ttname"><a href="class_t_m_c2130_stepper.html#ae7e437dd00948f511047ea6ee9386718">TMC2130Stepper::vhighfs</a></div><div class="ttdeci">bool vhighfs()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00041">CHOPCONF.cpp:41</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a72c064ac219a1fadd2d0410f8e4dd764"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a72c064ac219a1fadd2d0410f8e4dd764">TMC2660Stepper::tbl</a></div><div class="ttdeci">uint8_t tbl()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00108">CHOPCONF.cpp:108</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a141275c7de1c4bbbe7fe27bd785716bc"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a141275c7de1c4bbbe7fe27bd785716bc">TMC2130Stepper::chm</a></div><div class="ttdeci">bool chm()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00038">CHOPCONF.cpp:38</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_ae54d816846ca2103976f490c5ab8e887"><div class="ttname"><a href="class_t_m_c2130_stepper.html#ae54d816846ca2103976f490c5ab8e887">TMC2130Stepper::tbl</a></div><div class="ttdeci">uint8_t tbl()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00039">CHOPCONF.cpp:39</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_aed0175bff6e80ebc14e0d2606283cbe0"><div class="ttname"><a href="class_t_m_c2130_stepper.html#aed0175bff6e80ebc14e0d2606283cbe0">TMC2130Stepper::read</a></div><div class="ttdeci">uint32_t read(uint8_t addressByte)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130_stepper_8cpp_source.html#l00065">TMC2130Stepper.cpp:65</a></div></div>
<div class="ttc" id="a_c_h_o_p_c_o_n_f_8cpp_html_aa0ca7f498936322233db718888dc1adc"><div class="ttname"><a href="_c_h_o_p_c_o_n_f_8cpp.html#aa0ca7f498936322233db718888dc1adc">GET_REG_2660</a></div><div class="ttdeci">#define GET_REG_2660(SETTING)</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00083">CHOPCONF.cpp:83</a></div></div>
<div class="ttc" id="a_t_m_c___m_a_c_r_o_s_8h_html"><div class="ttname"><a href="_t_m_c___m_a_c_r_o_s_8h.html">TMC_MACROS.h</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a787cbae9adfab6f79a873310c472e7cd"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a787cbae9adfab6f79a873310c472e7cd">TMC2208Stepper::intpol</a></div><div class="ttdeci">bool intpol()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00078">CHOPCONF.cpp:78</a></div></div>
<div class="ttc" id="aclass_t_m_c5160_stepper_html_a365f4343bff99bedff934f0647cbaa34"><div class="ttname"><a href="class_t_m_c5160_stepper.html#a365f4343bff99bedff934f0647cbaa34">TMC5160Stepper::tpfd</a></div><div class="ttdeci">uint8_t tpfd()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00052">CHOPCONF.cpp:52</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a67541b27d97ce45f175e9f6e4a2d0bff"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a67541b27d97ce45f175e9f6e4a2d0bff">TMC2130Stepper::CHOPCONF</a></div><div class="ttdeci">uint32_t CHOPCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00007">CHOPCONF.cpp:7</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a60ffa69ee70b01e21871a3e1b79d6d18"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a60ffa69ee70b01e21871a3e1b79d6d18">TMC2130Stepper::hstrt</a></div><div class="ttdeci">uint8_t hstrt()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00033">CHOPCONF.cpp:33</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_aad3790e8c9040b5b4770ee65ed06b1ed"><div class="ttname"><a href="class_t_m_c2208_stepper.html#aad3790e8c9040b5b4770ee65ed06b1ed">TMC2208Stepper::toff</a></div><div class="ttdeci">uint8_t toff()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00072">CHOPCONF.cpp:72</a></div></div>
<div class="ttc" id="astruct_c_h_o_p_c_o_n_f__t_html_a9437c0740e43ac06de32469202578bd8"><div class="ttname"><a href="struct_c_h_o_p_c_o_n_f__t.html#a9437c0740e43ac06de32469202578bd8">CHOPCONF_t::sr</a></div><div class="ttdeci">uint32_t sr</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130__bitfields_8h_source.html#l00125">TMC2130_bitfields.h:125</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_af38dacc1171c9246dbdc1b77e0363e07"><div class="ttname"><a href="class_t_m_c2660_stepper.html#af38dacc1171c9246dbdc1b77e0363e07">TMC2660Stepper::rndtf</a></div><div class="ttdeci">bool rndtf()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00106">CHOPCONF.cpp:106</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a546ad69c482d0d33621fac89078966e1"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a546ad69c482d0d33621fac89078966e1">TMC2130Stepper::intpol</a></div><div class="ttdeci">bool intpol()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00045">CHOPCONF.cpp:45</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_ac3ea3d6f69e5ec03572752e4e25e0392"><div class="ttname"><a href="class_t_m_c2130_stepper.html#ac3ea3d6f69e5ec03572752e4e25e0392">TMC2130Stepper::vsense</a></div><div class="ttdeci">bool vsense()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00040">CHOPCONF.cpp:40</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a8a8faf8795135ffc49fc6826e5dfdf36"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a8a8faf8795135ffc49fc6826e5dfdf36">TMC2660Stepper::chm</a></div><div class="ttdeci">bool chm()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00107">CHOPCONF.cpp:107</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_acbef562065541bf9c49efd7757220775"><div class="ttname"><a href="class_t_m_c2130_stepper.html#acbef562065541bf9c49efd7757220775">TMC2130Stepper::sync</a></div><div class="ttdeci">uint8_t sync()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00043">CHOPCONF.cpp:43</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_aa11281f54c293f3ff2539b1a583682a9"><div class="ttname"><a href="class_t_m_c2208_stepper.html#aa11281f54c293f3ff2539b1a583682a9">TMC2208Stepper::CHOPCONF</a></div><div class="ttdeci">uint32_t CHOPCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00058">CHOPCONF.cpp:58</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a4ab9b5cf6da0c345ecc50e877b54ada2"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a4ab9b5cf6da0c345ecc50e877b54ada2">TMC2660Stepper::write</a></div><div class="ttdeci">void write(uint8_t addressByte, uint32_t config)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2660_stepper_8cpp_source.html#l00054">TMC2660Stepper.cpp:54</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_ae86e87a3b5882ac40c6f21348c6793ed"><div class="ttname"><a href="class_t_m_c2208_stepper.html#ae86e87a3b5882ac40c6f21348c6793ed">TMC2208Stepper::hstrt</a></div><div class="ttdeci">uint8_t hstrt()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00073">CHOPCONF.cpp:73</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a84a5b9684c546c5f4549f375048512be"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a84a5b9684c546c5f4549f375048512be">TMC2208Stepper::tbl</a></div><div class="ttdeci">uint8_t tbl()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00075">CHOPCONF.cpp:75</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a142b14de8a4dcc6cf76b4a6ede9e1cea"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a142b14de8a4dcc6cf76b4a6ede9e1cea">TMC2208Stepper::write</a></div><div class="ttdeci">void write(uint8_t, uint32_t)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2208_stepper_8cpp_source.html#l00118">TMC2208Stepper.cpp:118</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_a1c64cfe3c13f4c8c8fe2eebe996fa0eb"><div class="ttname"><a href="class_t_m_c2660_stepper.html#a1c64cfe3c13f4c8c8fe2eebe996fa0eb">TMC2660Stepper::hstrt</a></div><div class="ttdeci">uint8_t hstrt()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00103">CHOPCONF.cpp:103</a></div></div>
<div class="ttc" id="aclass_t_m_c2660_stepper_html_ad584d93cbf798731dcecee465b8b1de6"><div class="ttname"><a href="class_t_m_c2660_stepper.html#ad584d93cbf798731dcecee465b8b1de6">TMC2660Stepper::CHOPCONF</a></div><div class="ttdeci">uint32_t CHOPCONF()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00085">CHOPCONF.cpp:85</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a63df142506643ae8794abbedf3a30c1d"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a63df142506643ae8794abbedf3a30c1d">TMC2130Stepper::rndtf</a></div><div class="ttdeci">bool rndtf()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00037">CHOPCONF.cpp:37</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_a445b61c23afadb9bd48c3f4d9ef9125e"><div class="ttname"><a href="class_t_m_c2208_stepper.html#a445b61c23afadb9bd48c3f4d9ef9125e">TMC2208Stepper::mres</a></div><div class="ttdeci">uint8_t mres()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00077">CHOPCONF.cpp:77</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_af9e25628b6e663120fddac28dee776e1"><div class="ttname"><a href="class_t_m_c2130_stepper.html#af9e25628b6e663120fddac28dee776e1">TMC2130Stepper::hend</a></div><div class="ttdeci">uint8_t hend()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00034">CHOPCONF.cpp:34</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a5929db451598d6a16f8e82b37fbf738f"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a5929db451598d6a16f8e82b37fbf738f">TMC2130Stepper::diss2g</a></div><div class="ttdeci">bool diss2g()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00047">CHOPCONF.cpp:47</a></div></div>
<div class="ttc" id="aclass_t_m_c2130_stepper_html_a1f26f0ea072d38c0afd20f27563ebb64"><div class="ttname"><a href="class_t_m_c2130_stepper.html#a1f26f0ea072d38c0afd20f27563ebb64">TMC2130Stepper::write</a></div><div class="ttdeci">void write(uint8_t addressByte, uint32_t config)</div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130_stepper_8cpp_source.html#l00148">TMC2130Stepper.cpp:148</a></div></div>
<div class="ttc" id="astruct_c_h_o_p_c_o_n_f__t_html"><div class="ttname"><a href="struct_c_h_o_p_c_o_n_f__t.html">CHOPCONF_t</a></div><div class="ttdef"><b>Definition:</b> <a href="_t_m_c2130__bitfields_8h_source.html#l00122">TMC2130_bitfields.h:122</a></div></div>
<div class="ttc" id="aclass_t_m_c2208_stepper_html_aca88bb5ae86daeca56094bf2f8bdea5d"><div class="ttname"><a href="class_t_m_c2208_stepper.html#aca88bb5ae86daeca56094bf2f8bdea5d">TMC2208Stepper::vsense</a></div><div class="ttdeci">bool vsense()</div><div class="ttdef"><b>Definition:</b> <a href="_c_h_o_p_c_o_n_f_8cpp_source.html#l00076">CHOPCONF.cpp:76</a></div></div>
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_94e7a0fbe7f8eaf7f05ee7b02c647e9f.html">source</a></li><li class="navelem"><a class="el" href="_c_h_o_p_c_o_n_f_8cpp.html">CHOPCONF.cpp</a></li>
    <li class="footer">Generated by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.17 </li>
  </ul>
</div>
</body>
</html>
